package com.java.zhuiyun.api.playerLoginLogs.mapper;

import com.java.zhuiyun.api.playerLoginLogs.entity.PlayerLoginLogs;
import com.java.zhuiyun.api.playerLoginLogs.model.PlayerLoginLogsModel;
import org.apache.ibatis.annotations.Mapper;

/**
 * @InterfaceName PlayerLoginLogsMapper
 * @Description TODO 登录数据统计
 * @Author WX
 * @Date 2023/9/19 8:49
 **/
@Mapper
public interface PlayerLoginLogsMapper {
    /*
    * @Author WX
    * @Description 添加统计到的当日活跃量
    * @Date 2023/9/19 9:45
    * @Return
    * @param null
    */
    int insertPlayerLoginLogs(PlayerLoginLogs playerLoginLogs);

    /*
     * @Author WX
     * @Description 查询活跃量
     * @Date 2023/9/19 14:37
     * @Return
     * @param null
     */
    PlayerLoginLogsModel selectPlayerLoginLogs(String day);

    /*
     * @Author WX
     * @Description 查询日活跃量
     * @Date 2023/9/19 14:37
     * @Return
     * @param null
     */
    PlayerLoginLogsModel getPlayerLoginLogsByDay();
    /*
     * @Author WX
     * @Description 查询周活跃量
     * @Date 2023/9/19 14:37
     * @Return
     * @param null
     */
    PlayerLoginLogsModel getPlayerLoginLogsByWeek();
    /*
     * @Author WX
     * @Description 查询月活跃量
     * @Date 2023/9/19 14:37
     * @Return
     * @param null
     */
    PlayerLoginLogsModel getPlayerLoginLogsByMonth();
}
